export const LOCAL_JWT_KEY = "jskdfls";
export const AVATARURL = "avatarUrl";
export const NICKNAME = "nickName";
export const LOGINSTATUS = "loginStatus"
export const PHONENUMBERSTATUS = "phoneNumberStatus"
export const setJwtToken = (jwtToken) => {
  wx.setStorage({
    key:LOCAL_JWT_KEY,
    data:jwtToken
  })
}
export const setAvatarUrl = (avatarUrl) => {
  wx.setStorage({
    key:AVATARURL,
    data:avatarUrl
  })
}
export const setNickname = (nickName) => {
  wx.setStorage({
    key:NICKNAME,
    data:nickName
  })
}

export const setLoginStatus = (loginStatus) => {
  wx.setStorage({
    key:LOGINSTATUS,
    data:loginStatus
  })
}

export const setPhoneNumberStatus = (phoneNumberStatus) => {
  wx.setStorage({
    key:PHONENUMBERSTATUS,
    data:phoneNumberStatus
  })
}

